//
//  BaseModel.swift
//  AppArchitectureSwift
//
//  Created by 胡锦涛 on 2019/2/20.
//  Copyright © 2019 胡锦涛. All rights reserved.
//

import UIKit
import ObjectMapper

class BaseModel: Mappable  {
    
    var createTime = ""
    var modifyTime = ""
    var modifyTimeStamp : Double = 0
    
    required init?(map: Map) { }
    
    func mapping(map: Map) {
        modifyTimeStamp        <-      map["modifyTime"]
    }
    
    func diffIdentifier() -> NSObjectProtocol {
        return self as! NSObjectProtocol
    }
    
   
}
